package com.sl.au.entity;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/***
 * 模型-树形结构基础表
 * @author chuck
 *
 */
@Entity
@Table(name="sl_crm_ScadaModelBaseInfo")
public class scadaModelBaseInfo extends Root{
	/**	创建者 */
	@ManyToOne
	private User user;
	
	/***
	 * 分析模型名称
	 */
	private String modelName;
	
	/***
	 * 备注
	 */
	private String memo;
	
	/***
	 * 上级ID
	 * upParaId null 为根节点
	 */
	private String upParaId;
	
	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getModelName() {
		return modelName;
	}

	public void setModelName(String modelName) {
		this.modelName = modelName;
	}

	public String getUpParaId() {
		return upParaId;
	}

	public void setUpParaId(String upParaId) {
		this.upParaId = upParaId;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}
	
}
